package com.xdz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xdz.entity.vo.AttrRespVo;
import com.xdz.entity.vo.AttrVo;
import com.xdz.utils.PageUtils;
import com.xdz.entity.AttrEntity;

import java.util.Map;

/**
 * 商品属性
 *
 * @author xdz
 * @email 1351959729@qq.com
 * @date 2020-12-08 20:30:45
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByCategoryId(Map<String, Object> params, Long categoryId, String type);

    void saveAttr(AttrVo attr);

    AttrRespVo getAttrInfo(Long attrId);

    void updateAttr(AttrRespVo attr);
}

